package com.meteor.downloader.videodownloader.activity.set

import android.content.Intent
import com.meteor.downloader.videodownloader.R
import com.meteor.downloader.videodownloader.activity.MdmBindingActivity
import com.meteor.downloader.videodownloader.databinding.ActivitySettingMdmBinding

class MdmSettingActivity : MdmBindingActivity<ActivitySettingMdmBinding>() {
    override fun beginViewAndDoMdm() {
        mStarNativeValue = true
        mNativeBookLayout = mMdmBinding.flMdmNativeView
        mMdmBinding.layoutTopSet.tvTitleAll.text = getString(R.string.mdm_setting)
        mMdmBinding.llPrivacySetting.setOnClickListener {
            startActivity(Intent(this, MdmPolicySetActivity::class.java))
        }
        mMdmBinding.llLanguageSetting.setOnClickListener {
            startActivity(Intent(this, MdmLanguageSetActivity::class.java))
        }
        mMdmBinding.llHelpSetting.setOnClickListener {
            startActivity(Intent(this, MdmHelpYouActivity::class.java))
        }
    }

    override fun getLayoutValue(): ActivitySettingMdmBinding {
        return ActivitySettingMdmBinding.inflate(layoutInflater)
    }
}